package com.marketingexpert.service.storemgnt.taobao.domain.impl;

import com.marketingexpert.service.storemgnt.MarketingItem;
import com.taobao.api.domain.Item;

public class TaobaoItem extends MarketingItem {

	public TaobaoItem() {
	}

	public TaobaoItem(Item item) {
		init(item);
	}
	
	private void init(Item item) {
		this.afterSaleId = item.getAfterSaleId();
		this.approveStatus = item.getApproveStatus();
		this.auctionPoint = item.getAuctionPoint();
		this.autoFill = item.getAutoFill();
		this.cid = item.getCid();
		this.codPostageId = item.getCodPostageId();
		this.created = item.getCreated();
		this.delistTime = item.getDelistTime();
		this.desc = item.getDesc();
		this.detailUrl = item.getDetailUrl();
		this.emsFee = item.getEmsFee();
		this.expressFee = item.getExpressFee();
		this.freightPayer = item.getFreightPayer();
		this.hasDiscount = item.getHasDiscount();
		this.hasInvoice = item.getHasInvoice();
		this.hasShowcase = item.getHasShowcase();
		this.hasWarranty = item.getHasWarranty();
		this.increment = item.getIncrement();
		this.inputPids = item.getInputPids();
		this.inputStr = item.getInputStr();
		this.is3D = item.getIs3D();
		this.isEx = item.getIsEx();
		this.isFenxiao = item.getIsFenxiao();
		this.isLightningConsignment = item.getIsLightningConsignment();
		this.isPrepay = item.getIsPrepay();
		this.isTaobao = item.getIsTaobao();
		this.isTiming = item.getIsTiming();
		
		this.isVirtual = item.getIsVirtual();
		this.listTime = item.getListTime();
		this.modified = item.getModified();
		this.nick = item.getNick();
		this.num = item.getNum();
		this.numIid = item.getNumIid();
		
		this.oneStation = item.getOneStation();
		this.outerId = item.getOuterId();
		
		this.picUrl = item.getPicUrl();
		this.postageId = item.getPostageId();
		this.postFee = item.getPostFee();
		this.price = item.getPrice();
		this.productId = item.getProductId();
		this.promotedService = item.getPromotedService();
		this.propertyAlias = item.getPropertyAlias();
		this.props = item.getProps();
		this.propsName = item.getPropsName();
		
		this.score = item.getScore();
		this.secondKill = item.getSecondKill();
		this.sellerCids = item.getSellerCids();
		this.sellPromise = item.getSellPromise();
		this.stuffStatus = item.getStuffStatus();
		
		this.templateId = item.getTemplateId();
		this.title = item.getTitle();
		this.type = item.getType();
		
		this.validThru = item.getValidThru();
		this.violation = item.getViolation();
		this.volume = item.getVolume();
		this.wapDesc = item.getWapDesc();
		this.wapDetailUrl = item.getWapDetailUrl();
		this.wwStatus = item.getWwStatus();
	}
	
}
